<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<titl>计算器布局</title>
	<link rel="stylesheet" type="text/css" href="hezi.css">
	<style type="text/css">
		body{
			background: #ff7c87;
		}
		.box{
			height: 220px;
			width: 285px;
			padding: 25px;
			background-color: #9cd2eb;
			margin:0 auto;
			border-radius: 5px;
		}
		.box .list{
			list-style: none;
			width: 65px;
			height: 35px;
			float:left;
			background-color: #fff;
			margin-right:6px;
			margin-bottom: 10px;
			text-align: center;
			line-height: 35px;
			border-radius: 3px;
			font-size: 12px;
			font-weight: 400;

		}
		.box .show{
			width: 195px;
			background: #7AA7BB;
			text-align: right;
			color: #fff;
			padding-right: 10px;
		}
		.box .clear{
			background-color: #FF7C87;

		}
		.box .result{
			background:#F2FF93;
		}
	</style>
</head>
<body>
	<ul class="box">
		<li class="list clear">c</li>
		<li class="list show">123456</li>
		<li class="list">7</li>
		<li class="list">8</li>
		<li class="list">9</li>
		<li class="list">+</li>
		<li class="list">4</li>
		<li class="list">5</li>
		<li class="list">6</li>
		<li class="list">-</li>
		<li class="list">1</li>
		<li class="list">2</li>
		<li class="list">3</li>
		<li class="list">/</li>
		<li class="list">0</li>
		<li class="list">.</li>
		<li class="list result">=</li>
		<li class="list">*</li>
		</ul>
	
</body>
</html>